Skip to main content
Version: 2.3.1

Sample Code

Listed here are the sample code from demo scenes in NRSDK package and code described throughout this documentation.

DocumentationRelevant Unity Scene and Sample Code
HelloMR NRKernal.NRExamples.HelloMRController NRKernal.NRExamples.DemoScenesMenu
Controller BasicsInput-ControllerInfo NRKernal.NRExamples.ControllerInfoDisplayUI
Customize Controller UIInput-VirtualController NRKernal.NRExamples.CustomVirtualControlerUI
Hand TrackingHandTracking NRKernal.NRExamples.HandTrackingExample
Image TrackingImageTracking NRKernal.NRExamples.TrackingImageExampleController
Plane Detection (Tutorial) Project code can be downloaded here
Depth MeshMeshing NRKernal.NRExamples.NRMeshingManager
Spatial AnchorMappingExample NRKernal.NRExamples.LocalMapExample NRKernal.Persistence.AnchorItem NRKernal.Persistence.NRWorldAnchor NRKernal.Persistence.NRWorldAnchorStore
HelloMRSwitchConfig (Experimental) NRKernal.NRExamples.PlaneDetector
RGBCamera NRKernal.NRExamples.CameraCaptureController
Access RGB Camera)RGBCamera-Record NRKernal.NRExamples.VideoCapture2LocalExample
RGBCamera-Capture NRKernal.NRExamples.PhotoCaptureExample
First Person ViewFirstPersonViewStreamingCast (Experimental) NRKernal.Experimental.StreammingCast.FirstPersonStreammingCast (Experimental)
HelloMR-ChangeMode (Experimental) NRKernal.NRExamples.ChangeModeController
PupilDistanceAdjustment (Experimental) NRKernal.Experimental.NRExamples.PupilDistanceAdjustment (Experimental)
RenderForDistance (Experimental)
Overlay-VideoPlayer (Experimental)
AudioStreamming (Experimental) NRKernal.Experimental.NRExamples.AudioCaptureExample (Experimental)